package com.longe.netty.transferFiles.domain;

/**
 * 文件分片指令
 */
public class TransferInstruct {

    //文件传输进度｛0开始、1中间、2结尾、3完成｝
    private Integer fileTransferStatus;
    //文件URL
    private String fileUrl;
    //读取位置
    private Integer readPosition;

    public Integer getFileTransferStatus() {
        return fileTransferStatus;
    }

    public void setFileTransferStatus(Integer fileTransferStatus) {
        this.fileTransferStatus = fileTransferStatus;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public Integer getReadPosition() {
        return readPosition;
    }

    public void setReadPosition(Integer readPosition) {
        this.readPosition = readPosition;
    }

    public TransferInstruct(){}

    public TransferInstruct(Integer fileTransferStatus) {
        this.fileTransferStatus = fileTransferStatus;
    }
}